﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration  xmlns="urn:nhibernate-configuration-2.2" >
  <session-factory>
    <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
    <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
    <property name="connection.connection_string">data source=(local)\sqlexpress; initial catalog=hqlexample; Trusted_Connection=True;persist security info=True;</property>
    <property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
    <property name="show_sql">true</property>
    <property name="prepare_sql">false</property>
    <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
    <property name="use_outer_join">false</property>
    <property name="connection.isolation">ReadCommitted</property>
    <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
	
	<property name="hbm2ddl.keywords">auto-quote</property>

    <property name="current_session_context_class">
		uNhAddIns.SessionEasier.Conversations.ThreadLocalConversationalSessionContext, uNhAddIns
	</property>

    <mapping assembly="HqlExample.NHibernate" />
	
  </session-factory>
</hibernate-configuration>